<style type="text/css">
	form.tab-form-demo .tab-pane {
		margin: 20px 20px;
	}

	.custom-panel {
		margin-bottom: 0px;
	}

	.modal-lg {
		width: 80%;
	}
</style>

<div class="modal-header" style="margin-left:10px">
    <h4 class="modal-title">评价详情</h4>
</div>
<div class="modal-body">                
    <div class="container-fluid form-horizontal ">
        <div class="col-xs-6">
            <div class="form-group">
                <label class="col-xs-2 control-label">标题</label>
                <div class="col-xs-10">
                    <p class="form-control-static">{{obj.title}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-2 control-label">人均消费</label>
                <div class="col-xs-10">
                    <p class="form-control-static">{{obj.money / 100 | currency : '¥'}}</p>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-2 control-label">目的地</label>
                <div class="col-xs-10">
                  <div class="col-xs-6 form-inline">
                      <p class="form-control-static" ng-repeat="destination in destinationarr">{{destination}}</p>
                  </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label">出游日期</label>
                <div class="col-xs-10">
                    <p class="form-control-static">{{obj.tour_date}}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label">创建人</label>
                <div class="col-xs-10">
                    <p class="form-control-static">{{nickname}}</p>
                </div>
            </div>
            <div class="form-group">
              <label class="col-xs-2 control-label">人物</label>
              <div class="col-xs-10">
                  <p class="form-control-static" >{{obj.personal_relationship_name}}</p>
              </div>
          </div>
          <div class="form-group">
              <label class="col-xs-2 control-label">出游天数</label>
              <div class="col-xs-10 form-inline">
                  <p class="form-control-static">{{obj.day}}</p>
              </div>
          </div>

          <div class="form-group">
              <label class="col-xs-2 control-label">创建时间</label>
              <div class="col-xs-10">
                  <p class="form-control-static">{{obj.create_time}}</p>
              </div>
          </div>
          <div class="form-group">
              <label class="col-xs-2 control-label">内容</label>
              <div class="col-xs-10">
                <div class="form-control-static" ng-bind-html="obj.content"></div>
              </div>
          </div>
          <div class="form-group">
            <label class="col-xs-2 control-label">图片</label>
            <div class="col-xs-10">
              <img src="{{obj.image}}" alt="" style="height:200px;width:200px">
            </div>
        </div>
            
        </div>

        <div class="col-xs-6">
          <div class="panel panel-default">
            <tabset class="tab-container" >
                <tab heading="酒店">
                    <div class="panel-body">
                      <table class="table table-striped table-bordered table-condensed">
                        <thead>
                          <tr>
                              <th class="col-md-6 text-center">名称</th>
                              <th class="col-md-6 text-center">操作</th>
                          </tr>
                        </thead>
                        <tbody>
                          <tr ng-repeat="obj in hotelProduct track by $index">
                              <td class="text-center">{{obj.name}}</td>
                              <td class="text-center">
                                  <label class="i-checks m-b-none">
                                    <input type="checkbox" ng-click="changeHotel(obj)" ng-value="obj.value" ng-model="obj.value"><i></i>
                                  </label>
                              </td>
                          </tr>
                        </tbody>
                      </table>
                      <div class="pull-right">
                          <button class="btn btn-primary" type="button" ng-click="savehotel(obj.id)">保存</button>
                      </div>
                    </div>
                  </tab>
        
                  <tab heading="景区" >
                      <div class="panel-body">
                        <table class="table table-striped table-bordered table-condensed">
                          <thead>
                            <tr>
                                <th class="col-md-6 text-center">名称</th>
                                <th class="col-md-6 text-center">操作</th>
                            </tr>
                          </thead>
                          <tbody>
                            <tr ng-repeat="obj in viewProduct track by $index">
                                <td class="text-center">{{obj.name}}</td>
                                <td class="text-center">
                                    <label class="i-checks m-b-none">
                                      <input type="checkbox" ng-click="changeView(obj)" ng-value="obj.value" ng-model="obj.value"><i></i>
                                    </label>
                                </td>
                            </tr>
                          </tbody>
                        </table>
                        <div class="pull-right">
                            <button class="btn btn-primary" type="button" ng-click="saveview(obj.id)">保存</button>
                        </div>
                      </div>
                  </tab>
            </tabset>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="pass(obj.id)">通过</button>
    <button class="btn btn-danger" type="button" ng-click="nopass(obj.id)">驳回</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
</div>

